<?php
if (!defined('__TYPECHO_ROOT_DIR__')) exit;
/**
 * archive 显示 author
 *
 */
?>
<div class="vxeHw">
    <div class="kojXeB">
        <div class="ivcfJN" style="background-image: url(<?php echo getUserBackgroundImg($this->getPageRow()['mail'],$this->getPageRow()['userBackImg']) ?>)">
            <div class="iNTHKr"></div>
        </div>
    </div>
    <div class="biCwrr">
        <div class="sc-AxjAm sc-AxirZ fUlriR" data-authorhref="<?php _e($this->getPageRow()['permalink']);?>">
            <div class="sc-AxjAm sc-AxirZ jnzuaU"><img src="<?php echo getUserV2exAvatar($this->getPageRow()['mail'],$this->getPageRow()['userAvatar']) ?>" class="sc-AxjAm author-avatar"></div>
            <h2 class="sc-AxjAm author_page-name"><?php echo $this->author() ?><span class="badge bg-info m-l-xs text-xs">LV<?php _e($this->getPageRow()['level']); ?></span></h2>
            <div class="sc-AxjAm sc-AxirZ dZfkqf">
                <a href="" class="sc-AxjAm OAorY  ffrrSB"><span><?php _e(UserFollow::getFollowNum($this->getPageRow()['uid']));?></span> 关注</a>
                <a href="" class="sc-AxjAm OAorY  dDeaQZ"><span><?php _e(UserFollow::getOtherFollowNum($this->getPageRow()['uid']));?></span> 被关注</a>
            </div>
            <div class="sc-AxjAm sc-AxirZ iiMLXg">
                <div class="sc-AxjAm author-sign"><?php _e($this->getPageRow()['userSign']);?></div>
            </div>
            <div class="sc-AxjAm sc-AxirZ  cXyaML">
                <?php if ($this->getPageRow()['userSex']):?>
                    <div class="sc-AxjAm author-man fXkMMP">
                        <svg style="margin-right: 6px" t="1604492125183" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4778" width="1em" height="1em"><path d="M898.711815 111.770218c-49.988098 0-89.206174 55.736109-89.206174 55.736109s-36.994072-55.736109-89.228174-55.736109c-50.806099 0-92.29418 41.906082-95.010186 92.640181-1.530003 28.662056 7.712015 50.478099 20.730041 70.232137 26.014051 39.472077 139.748273 134.502263 163.676319 134.502263 24.418048 0 137.144268-94.682185 163.330319-134.502263 13.044025-19.848039 22.260043-41.570081 20.724041-70.232137-2.718005-50.734099-44.208086-92.640181-95.016186-92.640181" fill="#DE5E88" p-id="4779"></path><path d="M480.762999 752.929471h-46.894092l-20.43404-120.132235a181.544355 181.544355 0 0 1-70.690138 14.288028 181.600355 181.600355 0 0 1-70.688138-14.288028l-20.43404 120.130235h-46.892091c-96.436188 0.002-174.616341 78.180153-174.616341 174.616341v45.208088H655.38134v-45.208088c-0.002-96.436188-78.180153-174.614341-174.618341-174.614341z" fill="#F0CA83" p-id="4780"></path><path d="M462.110963 155.150303s-97.49419-130.688255-147.830289-98.708193C186.300424 137.748269 174.2544 143.850281 144.142342 154.310301c-73.018143 25.36205-83.730164 53.634105-74.530146 109.912215 24.100047 147.440288 109.864215 281.58655 109.864215 281.58655s-58.802115-108.838213-46.852092-123.440241c56.784111-69.402136 75.716148-53.020104 220.25843-68.794134s52.444102-80.314157 128.154251-28.120055 36.466071 190.964373 36.466071 190.964373 102.5142-224.848439 83.410163-280.956549c-40.77408-119.774234-138.802271-80.312157-138.802271-80.312157z" fill="#BBDCE3" p-id="4781"></path><path d="M523.211082 489.562956c0.452001-3.330007 0.840002-6.686013 1.112002-10.07602 1.142002-14.282028 2.268004-28.622056 3.348007-42.636083-0.22-40.352079-9.890019-86.066168-46.630091-111.394217-6.604013-4.554009-11.906023-8.200016-16.224032-11.084022h-22.178043c-4.632009 11.632023-18.176036 31.396061-89.752176 39.204077-124.126242 13.544026-155.620304 3.378007-198.002386 44.188086 1.868004 25.53805 4.054008 53.740105 6.288012 81.72416 7.558015 94.658185 86.616169 167.602327 181.576354 167.602327 82.588161 0 153.118299-55.184108 175.076342-131.832258 0.826002-3.136006 3.182006-12.520024 5.386011-25.69605z" fill="#F0CA83" p-id="4782"></path><path d="M1023.79406 202.802396c-3.632007-67.932133-58.576114-121.144237-125.084245-121.144237-37.632074 0-68.772134 21.416042-88.990174 40.414079-20.008039-19.014037-51.0541-40.414079-89.444174-40.414079-55.504108 0-102.926201 37.076072-119.218233 88.830174-13.630027-18.038035-30.094059-31.576062-49.332096-40.400079-29.960059-13.738027-59.006115-12.548025-78.260153-9.060018-10.650021-12.904025-27.062053-31.670062-45.82809-49.216096-51.994102-48.620095-95.570187-62.346122-129.504253-40.788079C170.880394 111.868218 160.822374 116.638228 134.260322 125.864246 53.020164 154.082301 27.442114 192.898377 39.894138 269.080526c23.990047 146.762287 104.916205 278.198543 113.574222 291.93857a212.080414 212.080414 0 0 0 45.292088 59.892117 212.768416 212.768416 0 0 0 39.836078 29.016056l-12.398024 72.886143h-21.470042c-87.19817 0-161.790316 54.818107-191.248374 131.780257-0.542001 1.198002-1.020002 2.430005-1.404002 3.704007A203.844398 203.844398 0 0 0 0.00006 927.543812v45.212088c0 16.632032 13.482026 30.112059 30.112059 30.112059h625.267221c16.628032 0 30.112059-13.482026 30.112059-30.112059v-45.212088c0-112.88822-91.838179-204.7264-204.7264-204.7264h-21.470042l-12.442024-73.150143c46.29209-26.174051 82.426161-69.336135 98.696193-122.166239 4.176008-9.238018 27.456054-61.27012 49.094095-120.132234 17.104033-46.534091 27.234053-80.994158 32.844065-107.028209 19.010037 24.320048 53.610105 56.12211 81.93416 79.558155 71.74414 59.362116 91.722179 59.362116 100.252195 59.362116 8.634017 0 28.854056 0 100.236196-59.262116 31.784062-26.388052 71.66014-63.574124 88.258173-88.812173 12.052024-18.338036 27.822054-47.450093 25.62605-88.384173zM389.556821 671.993312l14.626028 85.984168a30.106059 30.106059 0 0 0 29.686058 25.062049h46.894092c79.678156 0 144.500282 64.822127 144.500282 144.500283v15.098029H60.226178v-15.098029c0-10.44602 1.142002-20.62404 3.256006-30.44806h318.290622c16.632032 0 30.112059-13.482026 30.112058-30.112059 0-16.632032-13.482026-30.112059-30.112058-30.112058H92.32624c26.512052-32.800064 67.038131-53.826105 112.40022-53.826106h46.898091a30.110059 30.110059 0 0 0 29.686058-25.062049l14.626029-85.984168c0.626001 0.142 1.262002 0.234 1.888004 0.374001 2.686005 0.578001 5.382011 1.118002 8.094015 1.592003a215.718421 215.718421 0 0 0 11.222022 1.648004c1.100002 0.132 2.196004 0.272001 3.298007 0.386 2.932006 0.308001 5.882011 0.546001 8.836017 0.732002 0.716001 0.046 1.430003 0.112 2.148004 0.15 3.762007 0.198 7.534015 0.326001 11.322022 0.326001 3.638007 0 7.252014-0.126 10.856022-0.314001 0.886002-0.046 1.768003-0.112 2.652005-0.166a208.860408 208.860408 0 0 0 7.702015-0.636002c1.294003-0.13 2.590005-0.252 3.884007-0.406 2.014004-0.244 4.014008-0.536001 6.014012-0.838002 3.650007-0.536001 7.276014-1.174002 10.886021-1.900004 0.502001-0.102 1.008002-0.19 1.512003-0.298 1.098002-0.232 2.214004-0.402001 3.306007-0.652002z m-21.322042-57.204111c-0.298001 0.052-0.596001 0.108-0.894002 0.156-1.532003 0.252-3.078006 0.470001-4.622009 0.674001-0.846002 0.112-1.690003 0.22-2.538005 0.316001-1.270002 0.148-2.542005 0.284001-3.818007 0.398001-1.262002 0.112-2.526005 0.202-3.794007 0.284-0.966002 0.064-1.930004 0.136-2.900006 0.180001-2.300004 0.102-4.608009 0.172-6.922014 0.172l-0.106-0.002a157.760308 157.760308 0 0 1-7.288014-0.18c-75.458147-3.704007-138.09827-63.732124-144.166282-139.704273a13197.515776 13197.515776 0 0 1-5.15801-66.48413c18.758037-14.054027 38.258075-16.086031 91.76018-20.122039 20.860041-1.572003 46.822091-3.532007 78.362153-6.974014 2.912006-0.316001 5.730011-0.662001 8.494016-1.020002 0.344001-0.046 0.692001-0.088 1.036002-0.132a375.100733 375.100733 0 0 0 8.158016-1.172003l0.494001-0.076c46.02409-7.176014 70.060137-20.27204 83.506163-35.066068l1.830004 1.258002c1.434003 0.984002 2.870006 1.976004 4.276008 2.946006 1.204002 0.828002 2.360005 1.716003 3.502007 2.628005 0.290001 0.232 0.576001 0.460001 0.858002 0.698002 1.056002 0.880002 2.090004 1.788003 3.092006 2.744005 0.298001 0.284001 0.582001 0.582001 0.870001 0.870002 0.716001 0.708001 1.412003 1.440003 2.098004 2.186004 0.380001 0.416001 0.764001 0.826002 1.136003 1.250002a67.964133 67.964133 0 0 1 3.648007 4.618009c0.258001 0.358001 0.508001 0.728001 0.764001 1.094002 0.954002 1.376003 1.870004 2.780005 2.732006 4.224009l0.172 0.29c11.114022 18.838037 14.584028 43.290085 14.622029 66.33613a15156.181602 15156.181602 0 0 1-3.134007 39.908078 136.136266 136.136266 0 0 1-0.41 4.198008c-2.072004 13.470026-4.414009 23.208045-5.13801 26.068051-16.290032 56.28011-63.956125 97.726191-120.522236 107.43621z m177.774347-250.290489c-0.178-0.484001-0.370001-0.958002-0.552001-1.440003-7.068014-18.966037-17.788035-36.726072-33.578065-51.3641l-0.156001-0.148001a121.720238 121.720238 0 0 0-6.168012-5.32001c-0.322001-0.258001-0.650001-0.512001-0.972001-0.770001a121.192237 121.192237 0 0 0-6.450013-4.79601c-1.732003-1.192002-3.366007-2.322005-4.93001-3.394006l-1.660003-1.138003a979.195912 979.195912 0 0 0-9.998019-6.796013c-0.132-0.09-0.284001-0.15-0.416001-0.234-19.630038-12.946025-29.378057-16.770033-43.478085-12.106024-15.812031 5.23601-20.49204 18.986037-22.254044 24.160047-1.334003 3.924008-5.514011 7.234014-11.236022 10.01202-6.008012 2.816006-14.912029 5.790011-27.550053 8.372016l-1.714004 0.340001-0.554001 0.108a303.486593 303.486593 0 0 1-18.302036 2.890006l-1.132002 0.144-1.452003 0.178c-1.262002 0.15-2.538005 0.298001-3.846007 0.442001-30.54406 3.330007-54.886107 5.16801-76.364149 6.788013-5.01601 0.380001-9.822019 0.744001-14.482029 1.112003-56.928111 4.480009-88.176172 9.292018-124.776243 44.532087-0.572001 0.552001-1.094002 1.148002-1.614003 1.738003-0.202 0.198-0.404001 0.382001-0.606002 0.582001-13.586027-36.672072-25.63805-77.384151-32.444063-119.024232-6.622013-40.508079-5.830011-55.586109 54.692107-76.60815 33.438065-11.614023 48.148094-19.414038 176.404344-100.894197 0.340001-0.216 1.006002-0.374001 2.012004-0.374001 5.790011 0 22.810045 5.20401 53.584105 33.862066 28.430056 26.478052 51.728101 57.510112 51.960101 57.820113a30.106059 30.106059 0 0 0 35.37407 9.91402c0.264001-0.108 27.490054-10.07202 53.266104 1.750003 19.850039 9.104018 35.254069 29.402057 45.784089 60.334118 0.330001 0.946002 7.024014 22.998045-26.392052 119.328233z m401.834785-106.400208c-21.214041 32.256063-110.156215 106.916209-138.098269 119.846234-28.180055-13.108026-117.486229-87.828172-138.598271-119.868234-12.052024-18.288036-16.776033-33.856066-15.806031-52.060102 1.894004-35.364069 31.026061-64.134125 64.938127-64.134125 29.164057 0 56.23611 30.59206 64.138125 42.276083a30.126059 30.126059 0 0 0 24.680048 13.458026c9.862019 0.12 19.312038-4.650009 25.032049-12.780025 7.842015-11.142022 36.540071-42.954084 64.580126-42.954084 33.920066 0 63.050123 28.770056 64.944127 64.138125 0.990002 18.402036-3.596007 33.492065-15.810031 52.078102z" fill="" p-id="4783"></path><path d="M443.826927 878.491716a29.700058 29.700058 0 0 0 2.770005 5.21001 28.824056 28.824056 0 0 0 3.734008 4.578009c1.386003 1.386003 2.920006 2.650005 4.578008 3.734007a29.630058 29.630058 0 0 0 5.210011 2.770006 30.48406 30.48406 0 0 0 11.504022 2.318004 30.340059 30.340059 0 0 0 21.290042-8.824017 29.630058 29.630058 0 0 0 6.534012-9.788019 29.592058 29.592058 0 0 0 2.288005-11.504023c0-1.958004-0.18-3.944008-0.572001-5.902011a32.000063 32.000063 0 0 0-1.716004-5.632011 30.52606 30.52606 0 0 0-2.770005-5.18001 30.75606 30.75606 0 0 0-3.764007-4.578009c-6.986014-6.986014-17.376034-10.20802-27.162053-8.250016-1.928004 0.392001-3.824007 0.964002-5.632011 1.716003a29.700058 29.700058 0 0 0-5.210011 2.770005 30.75606 30.75606 0 0 0-4.578008 3.764008 28.734056 28.734056 0 0 0-3.734008 4.578009 30.452059 30.452059 0 0 0-2.770005 5.18001 31.948062 31.948062 0 0 0-1.716004 5.632011c-0.392001 1.958004-0.602001 3.944008-0.602001 5.902011s0.21 3.944008 0.602001 5.872012c0.390001 1.932004 0.962002 3.828007 1.716004 5.634011z" fill="" p-id="4784"></path></svg>
                        <?php _e($this->getPageRow()['userLifeStatus']);?>
                    </div>
                <?php else:?>
                    <div class="sc-AxjAm author-woman fXkMMP">
                        <svg style="margin-right: 6px" t="1604491951745" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3956" width="1em" height="1em"><path d="M426.666667 540.444444h170.666666v113.777778H426.666667z" fill="#FFFFFF" p-id="3957"></path><path d="M711.111111 553.955556H312.888889c-62.577778 0-113.777778-51.2-113.777778-113.777778v-64.711111c0-157.155556 127.288889-284.444444 284.444445-284.444445h56.888888c157.155556 0 284.444444 127.288889 284.444445 284.444445v64.711111c0 63.288889-51.2 113.777778-113.777778 113.777778z" fill="#FFC44F" p-id="3958"></path><path d="M874.666667 931.555556H149.333333c-7.822222 0-14.222222-6.4-14.222222-14.222223v-128c0-62.577778 51.2-113.777778 113.777778-113.777777h526.222222c62.577778 0 113.777778 51.2 113.777778 113.777777v128c0 7.822222-6.4 14.222222-14.222222 14.222223z" fill="#5CBAEA" p-id="3959"></path><path d="M724.622222 273.777778h-419.555555V369.777778c0 102.4 82.488889 184.888889 184.888889 184.888889h49.777777c102.4 0 184.888889-82.488889 184.888889-184.888889V273.777778z" fill="#FFFFFF" p-id="3960"></path><path d="M775.111111 647.111111H611.555556v-56.888889h99.555555c78.222222 0 142.222222-64 142.222222-142.222222V376.888889c0-172.8-140.088889-312.888889-312.888889-312.888889h-56.888888C310.755556 64 170.666667 204.088889 170.666667 376.888889v71.111111c0 78.222222 64 142.222222 142.222222 142.222222h99.555555v56.888889H248.888889c-78.222222 0-142.222222 64-142.222222 142.222222v128c0 23.466667 19.2 42.666667 42.666666 42.666667h725.333334c23.466667 0 42.666667-19.2 42.666666-42.666667v-128c0-78.222222-64-142.222222-142.222222-142.222222zM312.888889 533.333333c-46.933333 0-85.333333-38.4-85.333333-85.333333V376.888889c0-141.511111 114.488889-256 256-256h56.888888c141.511111 0 256 114.488889 256 256v71.111111c0 46.933333-38.4 85.333333-85.333333 85.333333h-53.333333c45.511111-40.533333 74.666667-99.555556 74.666666-164.977777V292.266667c0-30.577778-24.888889-56.177778-56.177777-56.177778H347.733333c-30.577778 0-56.177778 24.888889-56.177777 56.177778v76.088889C291.555556 433.777778 320.711111 492.8 366.222222 533.333333H312.888889z m35.555555-164.977777V292.977778h327.111112v74.666666c0 90.311111-73.244444 163.555556-163.555556 163.555556-90.311111 0.711111-163.555556-73.244444-163.555556-162.844444zM554.666667 590.222222v56.888889H469.333333v-56.888889h85.333334z m305.777777 312.888889H163.555556v-113.777778c0-46.933333 38.4-85.333333 85.333333-85.333333h526.222222c46.933333 0 85.333333 38.4 85.333333 85.333333v113.777778z" fill="#194F82" p-id="3961"></path><path d="M424.533333 348.444444m-28.444444 0a28.444444 28.444444 0 1 0 56.888889 0 28.444444 28.444444 0 1 0-56.888889 0Z" fill="#194F82" p-id="3962"></path><path d="M597.333333 348.444444m-28.444444 0a28.444444 28.444444 0 1 0 56.888889 0 28.444444 28.444444 0 1 0-56.888889 0Z" fill="#194F82" p-id="3963"></path><path d="M563.2 436.622222c3.555556-7.111111 0.711111-15.644444-6.4-19.2s-15.644444-0.711111-19.2 6.4C533.333333 434.488889 522.666667 440.888889 512 440.888889s-21.333333-6.4-25.6-16.355556c-3.555556-7.111111-12.088889-9.955556-19.2-6.4-7.111111 3.555556-9.955556 12.088889-6.4 19.2 9.244444 19.911111 29.866667 32.711111 51.2 32.711111 22.044444-0.711111 41.955556-13.511111 51.2-33.422222z" fill="#194F82" p-id="3964"></path></svg>
                        <?php _e($this->getPageRow()['userLifeStatus']);?>
                    </div>
                <?php endif;?>
                <?php foreach(utils::parseUserTag($this->getPageRow()['userTag']) as $val):?>
                    <div class="sc-AxjAm hXeItE  fXkMMP"><?php _e($val);?></div>
                <?php endforeach;?>
            </div>
        </div>
        <div class="sc-AxjAm sc-AxirZ kLKIKx">
            <button data-author_page="1" data-authorid="<?php echo $this->getPageRow()['uid'] ?>"
            <?php
            if ($this->user->hasLogin()){
                if (UserFollow::statusFollow($this->user->uid,$this->getPageRow()['uid'])){
                    echo 'class="fansed fan-event">已关注';
                }else{
                    echo 'class="fans fan-event">关注';
                }
            }else{
                echo 'class="fans fan-event">关注';
            }
            ?>
            </button>
        </div>
    </div>
</div>
